CountTime=function (t,b) {
    var time = new Date(t.replace("-","/"));
    time.setMinutes(time.getMinutes(), time.getSeconds() + b, 0);
    var d = new Date(time);
    var y = d.getFullYear();
    var m = d.getMonth() + 1;
    m = m < 10 ? ('0' + m) : m;
    var da = d.getDate();
    da = da < 10 ? ('0' + da) : da;
    var h = d.getHours();
    h = h < 10 ? ('0' + h) : h;
    var minute = d.getMinutes();
    minute = minute < 10 ? ('0' + minute) : minute;
    var second = d.getSeconds();
    second = second < 10 ? ('0' + second) : second;
    var resDate=y + '-' + m + '-' + da + ' ' + h + ':' + minute + ':' + second;
    return resDate;
}